package com.jiadakeji.ppm.modules.invoice.entity;

import javax.xml.bind.annotation.*;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "Data")
public class TaxPayerInfo {

    @XmlAttribute
    private String type = "KEHUBIANMA";
    @XmlElementWrapper(name = "FENLEI")
    @XmlElement(name = "Row")
    private List<FENLEI> fenlei;
    @XmlElementWrapper(name = "KHXX")
    @XmlElement(name = "Row")
    private List<PayerInfo> payerInfos;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<FENLEI> getFenlei() {
        return fenlei;
    }

    public void setFenlei(List<FENLEI> fenlei) {
        this.fenlei = fenlei;
    }

    public List<PayerInfo> getPayerInfos() {
        return payerInfos;
    }

    public void setPayerInfos(List<PayerInfo> payerInfos) {
        this.payerInfos = payerInfos;
    }
}
